package com.jwds.digital.bios.business.core.infrastructure.dto.dispatch;

import com.jwds.digital.bios.business.core.infrastructure.entity.dispatch.DispatchRule;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


/**
 * 规则配置
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@ApiModel(value="DispatchConfigurat请求对象")
public class DispatchConfiguratReqDTO {

  @ApiModelProperty(value = "主键ID")
  private Long id;

  @ApiModelProperty(value = "排序顺序")
  private Integer sortOrder;


  @ApiModelProperty(value = "料条/槽组编码")
  private String groupCode;


  @ApiModelProperty(value = "扣分")
  private String deductPoints;


  @ApiModelProperty(value = "料棚/料仓规则备注信息")
  private String remark;


  @ApiModelProperty(value = "规则被执行的次数")
  private Integer executionCount;


  @ApiModelProperty(value = "规则编码")
  private String ruleCode;


  @ApiModelProperty(value = "创建人")
  private String createUser;


  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;


  @ApiModelProperty(value = "更新人")
  private String modifyUser;


  @ApiModelProperty(value = "更新时间")
  private LocalDateTime modifyTime;


  @ApiModelProperty(value = "逻辑删除:0-未删除,1-已删除")
  private Integer isDeleted;

  /***********扩展字段***************/
  @ApiModelProperty(value = "规则内容")
  private List<DispatchRule> dispatchRuleList;

  @ApiModelProperty(value = "规则内容")
  private String generalRule;

}
